﻿using UnityEditor;
using UnityEngine;

namespace UFrame
{
    [CustomEditor(typeof(GameSpeedMB))]
    public class GameSpeedMBEditor : Editor
    {
        public override void OnInspectorGUI()
        {
            base.OnInspectorGUI();
            if (GUILayout.Button("应用速度"))
            {
                GameSpeedMB b = target as GameSpeedMB;
                b.ApplySpeed();
            }

            ;
        }
    }
}